package com.smedi.ismedi.inmail.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author u
 */
@Data
public class QueryListMessageRecordRequest implements Serializable {
    @ApiModelProperty(value = "项目Id")
    private String projectId;

    @ApiModelProperty(value = "消息来源")
    private String sourceFrom;

    @ApiModelProperty("消息来源ID")
    private Long sourceFromId;

    @ApiModelProperty(value = "消息记录标题")
    private String messageTitle;

    @ApiModelProperty(value = "消息记录内容")
    private String messageContent;

    @ApiModelProperty(value = "消息记录类型")
    private String messageType;

    @ApiModelProperty(value = "推送时间")
    private String pushTime;

    @ApiModelProperty(value = "当前操作人Id")
    @NotNull(message = "当前操作人Id不能为空")
    private String currentPersonId;

    @ApiModelProperty(value = "消息已读")
    private Boolean messageRead;
}